package com.dao;

import com.common.BaseDAO;
import com.model.Users;


public class UsersDAO  extends BaseDAO<Users,Integer> implements IUsersDAO{

	public Users get(String name,String psw){
		String hql="from Users where username='"+name+"' and password='"+psw+"'";
		return (Users)findHql(hql).get(0);
	}
}
